

package com.zdkj.subway.stm.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zdkj.common.core.entity.BaseEntity;
import com.zdkj.subway.stm.util.LocalDateTimeConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 车票上交主表
 *
 * @author cuilei
 * @date 2020-05-26 15:03:29
 */
@Data
@TableName("sw_st_ticket_hand")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "车票上交主表")
public class SwStTicketHand extends BaseEntity<SwStTicketHand> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    @ExcelIgnore
    private Integer id;
    /**
     * 线路编码
     */
    @ApiModelProperty(value = "线路编码")
    @ExcelProperty(value = "线路编码", index = 0)
    private String lineCode;
    /**
     * 车站编码
     */
    @ApiModelProperty(value = "车站编码")
    @ExcelProperty(value = "车站编码", index = 1)
    private String stationCode;
    /**
     * 上交数量【张】
     */
    @ApiModelProperty(value = "上交数量【张】")
    @ExcelProperty(value = "上交数量【张】", index = 2)
    private Integer handCount;
    /**
     * 上交人
     */
    @ApiModelProperty(value = "上交人")
    @ExcelProperty(value = "上交人", index = 3)
    private String handPersonName;
    /**
     * 上交人工号
     */
    @ApiModelProperty(value = "上交人工号")
    @ExcelProperty(value = "上交人工号", index = 4)
    private String handPersonCode;
    /**
     * 上交时间
     */
    @ApiModelProperty(value = "上交时间")
    @ExcelProperty(value = "上交时间", converter = LocalDateTimeConverter.class, index = 5)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime handTime;
    /**
     * 数据来源:0:线网通知;1:车站添加
     */
    @ApiModelProperty(value = "数据来源:0:线网通知;1:车站添加")
    @ExcelIgnore
    private String dataSource;
    /**
     * 接收回收人
     */
    @ApiModelProperty(value = "接收回收人")
    @ExcelProperty(value = "接收回收人", index = 6)
    private String receivePersonName;
    /**
     * 接收回收人工号
     */
    @ApiModelProperty(value = "接收回收人工号")
    @ExcelProperty(value = "接收回收人工号", index = 7)
    private String receivePersonCode;
    /**
     * 回收人2
     */
    @ApiModelProperty(value = "回收人2")
    private String receivePersonTwoName;
    /**
     * 回收人2工号
     */
    @ApiModelProperty(value = "回收人2工号")
    private String receivePersonTwoCode;
    /**
     * 接收回收时间
     */
    @ApiModelProperty(value = "接收回收时间")
    @ExcelProperty(value = "接收回收时间", converter = LocalDateTimeConverter.class,index = 8)
    private LocalDateTime receiveTime;
    /**
     * 接收回收数量【张】
     */
    @ApiModelProperty(value = "接收回收数量【张】")
    @ExcelProperty(value = "接收回收数量【张】", index = 9)
    private Integer receiveCount;
    /**
     * 差异数量【张】
     */
    @ApiModelProperty(value = "差异数量【张】")
    @ExcelProperty(value = "差异数量【张】", index = 10)
    private Integer differenceCount;
    /**
     * 提交状态:0:未提交;1:已提交
     */
    @ApiModelProperty(value = "提交状态:0:未提交;1:已提交")
    @ExcelIgnore
    private String submitStatus;
    /**
     * 通知状态:0:未通知;1:已通知
     */
    @ApiModelProperty(value = "通知状态:0:未通知;1:已通知")
    @ExcelIgnore
    private String noticeStatus;
    /**
     * 通知确认状态:0:未确认;1:已确认
     */
    @ApiModelProperty(value = "通知确认状态:0:未确认;1:已确认")
    @ExcelIgnore
    private String noticeConfirm;
    /**
     * 回收状态 0:待确认;1:已确认;2:差异反馈;3:差异申诉
     */
    @ApiModelProperty(value = "回收状态 0:待确认;1:已确认;2:差异反馈;3:差异申诉")
    @ExcelIgnore
    private String handStatus;
    /**
     * 反馈信息
     */
    @ApiModelProperty(value = "线网反馈信息")
    @ExcelProperty(value = "线网反馈信息", index = 11)
    private String feedback;
    /**
     * 申诉信息
     */
    @ApiModelProperty(value = "车站申诉信息")
    @ExcelProperty(value = "车站申诉信息", index = 12)
    private String complain;

    /**
     * 调查结果
     */
    @ApiModelProperty(value = "调查结果(车站)")
    @ExcelProperty(value = "调查结果(车站)", index = 13)
    private String stationSurveyResult;

    /**
     * 调查结果
     */
    @ApiModelProperty(value = "调查结果(线网)")
    @ExcelProperty(value = "调查结果(线网)", index = 14)
    private String lineSurveyResult;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "备注", index = 15)
    private String remark;

    @TableField(exist = false)
    @ExcelIgnore
    private Integer markId;

	  /**
     * 是否出库 1:是  0：否
     */
    @ApiModelProperty(value = "是否出库")
    @ExcelProperty(value = "是否出库")
    private String isOutstock;

     /**
     * 是否入库 1:是  0：否
     */
    @ApiModelProperty(value = "是否入库")
    @ExcelProperty(value = "是否入库")
    private String isInstock;

    /**
     * 驳回原因
     */
    @ApiModelProperty(value = "驳回原因")
    @ExcelProperty(value = "驳回原因")
    private String rejectReply;
}
